<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
//首页
Route::get('/', 'IndexController@index');
//流水详情
Route::get('/detail/{id}', 'IndexController@getDetails');
//添加流水
Route::get('/addDetail/{id}', 'IndexController@addDetail');
//保存流水
Route::post('/saveDetail','IndexController@saveDetail');
/*+++++++++++++++++++++++账户相关+++++++++++++++++++++++++++++*/
//添加账户
Route::get('/addAccount','AccountController@addAccount');
//保存账户
Route::post('/saveAccount','AccountController@saveAccount');
//删除账户
Route::get('/delAccount/{id}','AccountController@delAccount');
